<?php /* Smarty version 2.6.26, created on 2012-05-12 15:18:22
         compiled from blocks%5Cnews_block.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'blocks\\news_block.tpl', 12, false),array('modifier', 'strip_tags', 'blocks\\news_block.tpl', 18, false),array('modifier', 'truncate', 'blocks\\news_block.tpl', 18, false),array('modifier', 'strlen', 'blocks\\news_block.tpl', 18, false),)), $this); ?>
<!-- news block tpl -->

<?php if (! empty ( $this->_tpl_vars['all_news'] )): ?>
	<ul class="news">
	<?php $_from = $this->_tpl_vars['all_news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['news']):
?>
		<li>
			<table>
			<tr>
				<td><a title="<?php echo $this->_tpl_vars['news']['title']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['news']; ?>
/<?php echo $this->_tpl_vars['news']['Path']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['news']; ?>
&amp;id=<?php echo $this->_tpl_vars['news']['ID']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['news']['title']; ?>
</a></td>
				<td class="date">
					<div>
						<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['Date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%d') : smarty_modifier_date_format($_tmp, '%d')); ?>
<br />
						<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['Date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%b') : smarty_modifier_date_format($_tmp, '%b')); ?>

					</div>
				</td>
			</tr>
			</table>
			<div class="dark"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['news']['content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp, false) : smarty_modifier_strip_tags($_tmp, false)))) ? $this->_run_mod_handler('truncate', true, $_tmp, $this->_tpl_vars['config']['news_block_content_length'], "", false) : smarty_modifier_truncate($_tmp, $this->_tpl_vars['config']['news_block_content_length'], "", false)); ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['news']['content'])) ? $this->_run_mod_handler('strlen', true, $_tmp) : strlen($_tmp)) > $this->_tpl_vars['config']['news_block_content_length']): ?>...<?php endif; ?></div>
		</li>
	<?php endforeach; endif; unset($_from); ?>
	</ul>
	<div class="ralign">
		<a title="<?php echo $this->_tpl_vars['lang']['all_news']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['news']; ?>
.html<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['news']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['all_news']; ?>
</a>
	</div>
<?php else: ?>
	<?php echo $this->_tpl_vars['lang']['no_news']; ?>

<?php endif; ?>

<!-- news block tpl end -->